package com.atguigu.springcloud.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;


/**
 * @author xiaolong
 * @version 1.0
 * @description: 常量定义类
 * @date 2021/10/15 15:43
 */

@Getter
@Setter
@ConfigurationProperties(prefix = "burn")
public class BurnConfig {


    /**
     * @description: 下发任务routing-key
     */
    public String taskInfoRoutingkey = "TaskInfo";

    /**
     * @description: 取消任务routing-key
     */
    public String delTaskReqRoutingkey = "DelTaskReq";

    /**
     * @description: 任务状态routing-key
     */
    public String taskStatusRoutingKey = "RemoteTrial";

    /**
     * @description: 心跳routing-key
     */
    public String heartbeatRoutingkey = "Heartbeat";

    /**
     * @description: 任务状态消费队列queue
     */
    public String taskStatusQueue = "RemoteTrialTaskStatusQueue";

    /**
     * @description: 任务状态心跳消费队列queue
     */
    public String heartbeatQueue = "RemoteTrialHeartbeatQueue";

    /**
     * @description: 交换机名称
     */
    public String burnDownloadExchange = "BurnDownloadExchange";


}
